package com.caohx.bms.service;
import com.caohx.bms.pojo.BookCategory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public abstract class IBookCategoryService {

    public abstract Page<BookCategory> findCategories(Pageable pageable) ;


    public abstract void delete(Long categoryId) ;

    public abstract BookCategory add(BookCategory bookCategory) ;

    public abstract BookCategory edit(BookCategory bookCategory);

    public abstract BookCategory get(Long categoryId);

    // 其他通用方法可以在这里定义
}
